$height: 45px;

.register-wrap,.login-container {
  width: 100%;
  height: 100%;
  overflow: auto;
  background: $blueRegister url("../assets/image/login-bg.jpg") center bottom
    no-repeat;
  background-size: 100% auto;
  position: relative;
}
.form-background {
  height: auto;
  width: 450px;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin: -290px auto 0;
  .title-container {
    margin-bottom: 0%;
    .logo {
      width: 100px;
      height: auto;
      display: block;
      margin: 0 auto;
    }
    .title {
      font-size: 30px;
      color: $white_gray;
      text-align: center;
      margin: 20px 0;
    }
  }
}

.login-form {
  height: 400px;
  border-radius: 10px;
  padding:70px 30px 30px;
  background: #fff;
  position: relative;
  .pass-title {
    color: #fff;
    font-size: 20px;
    position: absolute;
    right:30px;
    top:20px;
    z-index: 10;
    width: 40%;
    .pass-title-info {
      display: inline-block;
      width: 100%;
      cursor: pointer;
      text-align: right;
      .text {
        width: 70%;
        vertical-align: top;
      }
      .pic {
        width: 30%;
      }
    }
  }
  .el-form{
    position: relative;
  }
  .el-form-item{
    margin-bottom: 25px;
  }
  .select-role{
    margin-bottom: 5px;
  }
  .el-input {
    height: $height!important;
    input {
      height: $height!important;
      border:1px solid $blueRegister;
      background: #fff;
    }
  }
  .el-input__prefix{
    color:$blueRegister!important;
  }
  .el-input__inner{
    color:#333;
  }
  .input-icon {
    height: $height;
    width: 14px;
    margin-left: 2px;
  }
  .show-pwd {
    position: absolute;
    right: 10px;
    top: 3px;
    font-size: 16px;
    color: $dark_gray;
    cursor: pointer;
    user-select: none;
  }
  .login-code {
    width: 33%;
    height: $height;
    float: right;
    img {
      width: 100%;
      height: 100%;
      cursor: pointer;
      vertical-align: middle;
    }
  }
  .submit{
    margin: 3% 0 0;
    width: 100%;
    height: $height;
    line-height: $height;
    text-align: center;
    color:$white_gray!important;
    padding:0;
    background: $blueRegister!important;
    border: none;
  }
  .go-register{
    text-align: center;
    span{
      color:$blueRegister;
      cursor: pointer;
      margin-right: 20px;
      &:last-child{
        margin: 0;
      }
    }
  }
}

.register-form {
  border-radius: 10px;
  padding: 30px 30px 10px;
  background: #fff;
  position: relative;
  .el-form {
    margin-top: 10px;
    position: relative;
    z-index: 1000;
  }
  .el-form-item {
    margin-bottom: 16px;
  }
  .el-input {
    height: 40px;
    input {
      height: 40px ;
      border: 1px solid $blueRegister;
      background: #fff;
    }
  }
  .el-input__inner{
    color:#333;
  }
  .el-input__prefix {
    color: $blueRegister;
  }
  .input-icon {
    height: 35px;
    width: 14px;
    margin-left: 2px;
  }
  .show-pwd {
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 16px;
    color: $dark_gray;
    cursor: pointer;
    user-select: none;
  }
  .pass-title {
    color: #fff;
    font-size: 20px;
    padding: 0 4%;
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 10;
    width: 100%;
    text-align: right;
    .pass-title-info {
      display: inline-block;
      width: 50%;
      cursor: pointer;
      .text {
        width: 65%;
        vertical-align: top;
      }
      .pic {
        width: 25%;
      }
    }
  }
  .reg-btn {
    border-radius: 5px;
    margin: 4% 0 0;
    width: 100%;
    height: $height;
    line-height: $height;
    text-align: center;
    color: $white_gray;
    outline: none;
    cursor: pointer;
    padding: 0;
    background: $blueRegister;
    border: none;
  }
  .login {
    font-size: 14px;
    text-align: center;
    line-height: 30px;
    margin-top: 10px;
    span {
      &:first-child,&:last-child{
        cursor: pointer;
        color: $blueRegister;
        margin-right: 10px;
      }
    }
  }
  .argee {
    margin-top: 15px;
  }
  .login-code {
    width: 33%;
    float: right;
    height: 40px;
    img {
      width: 100%;
      height: 100%;
      cursor: pointer;
      vertical-align: middle;
    }
  }
  .code {
    display: inline-block;
    margin: 0 auto;
  }
}

/* 个人注册页面 */
.form-person-wrap{
  width: 100%;
  height: auto!important;
  background: $blueRegister url("../assets/image/role-bg.jpg") center bottom
  no-repeat!important;
  background-size: 100% auto;
  position: relative;
  padding:50px 0;
  .dialog {
    overflow: hidden;
    padding: 20px 30px 80px;
    width: 1200px;
    min-height: 837px;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 0 auto;
    background: #fff;
    position: relative;
    h3 {
      font-weight: normal;
      font-size: 22px;
      text-align: center;
      color: $blueRegister;
    }
    .certificate-wrap {
      .certi-item {
        margin-bottom: 15px;
        border-radius: 4px;
        min-height: 220px ;
        padding: 5px 20px;
        box-sizing: border-box;
        border: 1px solid $blueRegister;
        .certi-titile {
          font-size: 16px;
          line-height: 32px;
          margin:0 0 15px;
          text-align: left;
          border-bottom: 1px solid $blueRegister;
          color: $blueRegister;
        }
        .certi-ipt-wrap {
          display: flex;
          justify-content: space-around;
        }
      }
      .el-form-item {
        display: block;
      }
      .el-checkbox {
        margin-bottom: 10px;
        font-weight: normal;
      }
    }
    .btn-wrap {
      width: 100%;
      position: absolute;
      left: 0;
      bottom:40px;
      padding-top: 20px;
      text-align: center;
      button {
        border-color: $blueRegister;
        background: $blueRegister;
      }
    }
  }
  .form-person {
    .el-form {
      margin-top: 10px;
      position: relative;
      z-index: 1000;
    }
    .el-form-item {
      margin-bottom: 13px;
    }
    .el-input {
      input {
        border: 1px solid  $blueRegister;
        background: #fff;
      }
    }
  }
}

/* 完善企业 */
.enterprise-info{
  width: 100%;
  height: auto!important;
  background: $blueRegister url("../assets/image/role-bg.jpg") center bottom
  no-repeat!important;
  background-size: 100% auto;
  position: relative;
  padding:50px 0;
  .dialog {
    overflow: hidden;
    padding: 20px 30px 80px;
    width: 1200px;
    min-height: 837px;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 0 auto;
    background: #fff;
    position: relative;
    h3 {
      font-weight: normal;
      font-size: 22px;
      text-align: center;
      color: $blueRegister;
    }
    .el-input {
      input {
        border: 1px solid  $blueRegister;
        background: #fff;
      }
    }
    .el-form-item__label, .el-input__inner{
      color:#333;
    }
    .certificate-wrap {
      .certi-item {
        margin-bottom: 15px;
        border-radius: 4px;
        min-height: 230px ;
        padding: 5px 20px;
        box-sizing: border-box;
        border: 1px solid $blue;
        .certi-titile {
          font-size: 16px;
          line-height: 32px;
          margin:0 0 15px;
          text-align: left;
          border-bottom: 1px solid $blue;
          color: $blue;
        }
        .certi-ipt-wrap {
          display: flex;
          justify-content: space-around;
        }
      }
      .el-form-item {
        display: block;
      }
      .el-checkbox {
        margin-bottom: 10px;
        font-weight: normal;
      }
    }
    .btn-wrap {
      width: 100%;
      position: absolute;
      left: 0;
      bottom:40px;
      padding-top: 20px;
      text-align: center;
      button {
        border-color: $blueRegister;
        background: $blueRegister;
        color:$blueRegister!important;;
      }
    }
  }
  .no-data{
    padding-top: 30px;
    p{
      padding: 0;
      margin: 0;
      text-align: center;
      color: #999;
      .no-data-icon{
        font-size: 80px;
        color:#8eabd6
      }
    }
  }
}


/* 头像上传 */
.upload {
  .avatar-uploader {
    display: inline-block;
    .el-upload {
      cursor: pointer;
      position: relative;
      overflow: hidden;
      float: left;
      &:hover {
        border-color: $blueRegister;
      }
    }
    .avatar-uploader-icon {
      border: 1px solid #d9d9d9;
      border-radius: 6px;
      font-size: 25px;
      color: #8c939d;
      width: 128px;
      height: 148px;
      line-height: 148px;
      text-align: center;
    }
    .avatar {
      width: 128px;
      height: 148px;
    }
  }
  .zhengshu-template{
    width: 128px;
    height: 148px;
    overflow: hidden;
    float: left;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    margin-right: 15px;
  }
}

@media screen and (max-width: 1366px) {
  .form-background {
    width: 380px;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin: -280px auto 0;
    .title-container {
      margin-bottom: 4%;
      .logo {
        width: 70px;
      }
      .title {
        font-size: 20px;
      }
    }
  }
  .register-form {
    padding: 40px 30px 10px;
    .el-form {
      margin-top: 10px;
      .el-form-item {
        margin-bottom: 13px;
      }
      .el-input {
        height: 36px;
        .el-input__inner::placeholder {
          font-size: 12px;
        }
        input {
          height: 36px ;
        }
      }
    }
    .reg-btn {
      height: 38px;
      line-height: 38px;
    }
    .argee {
      margin-top: 5px;
    }
    .login {
      padding-bottom: 5px;
    }
  }
}

/* 树组件样式重置 */
.tree .el-tree-node__content {
  border-bottom: 1px solid $blue;
  background: #F9FAF9 ;
  padding: 5px 0;
  height: 40px;
}


